# Copyright (c) 2020 Presto Labs Pte. Ltd.
# Author: donggu

load(
    "@nazel//:nazel_build.bzl",
    "nazel_cc_binary",
    "nazel_cc_pymodule",
)

package(default_visibility = ["//visibility:public"])

nazel_cc_binary(
    name = "symbol-example",
    srcs = [
        "symbols.cc",
    ],
    deps = [
        "//cc/coin2",
    ],
)

nazel_cc_binary(
    name = "symbol-convert",
    srcs = [
        "convert.cc",
    ],
    linkopts = [
        "-ldocopt",
    ],
    deps = [
        "//cc/coin2",
    ],
)

nazel_cc_pymodule(
    name = "py_symbology.so",
    srcs = [
        "py_currency.h",
        "py_product.h",
        "py_product_info.h",
        "py_symbology.cc",
    ],
    deps = [
        "//cc/coin2",
    ],
)
